package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.dao.base.BaseMapper;
import cn.com.thinvent.dispatch.entity.DataCleaStoreConfig;
import cn.com.thinvent.dispatch.entity.ModelDatasource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DataCleaStoreConfigMapper extends BaseMapper<DataCleaStoreConfig> {
    DataCleaStoreConfig queryById(@Param("id") Integer id);
    List<DataCleaStoreConfig> list(@Param("pageBegin") Integer pageBegin, @Param("pageSize") Integer pageSize,@Param("name") String name);
    Long count(@Param("pageBegin") Integer pageBegin, @Param("pageSize") Integer pageSize);
    int update(DataCleaStoreConfig dataCleaStoreConfig);
    int insert(DataCleaStoreConfig dataCleaStoreConfig);
    int del(Integer id);
}
